/*! \file defs.h
 *	\brief <write description for defs.h>
 *
 *	created:	2009/11/20
 *	created:	20:11:2009   17:31
 *	filename: 	o:\main\libs\mem\defs.h
 *	file path:	o:\main\libs\mem
 *	file base:	defs
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _MEM_DEFS_H_
#define _MEM_DEFS_H_

#pragma once

// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the CONFIG_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// CONFIG_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.
#ifdef mem_EXPORTS
#define MEM_API __declspec(dllexport)
#else
#define MEM_API __declspec(dllimport)
#endif

///Enables memory menegement
#define TT_MEM_ENABLED 0

#if TT_MEM_ENABLED

///Enables memory profiling
#	define TT_MEM_PROFILING 1

// #else //TT_MEM_ENABLED
// 
// #	define TT_MEM_PROFILING 0

#endif //TT_MEM_ENABLED

#endif //_MEM_DEFS_H_
